package com.hotel.bean;

public class Regist {
	private int pid;
	private String pname;
	private int pmoblie;
	private String ppassword;
	
	public Regist(int pid, String pname, int pmoblie, String ppassword) {
		super();
		this.pid = pid;
		this.pname = pname;
		this.pmoblie = pmoblie;
		this.ppassword = ppassword;
	}
	
	public Regist( String pname, int pmoblie, String ppassword) {
		super();
		
		this.pname = pname;
		this.pmoblie = pmoblie;
		this.ppassword = ppassword;
	}

	public Regist() {
		super();
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public int getPmoblie() {
		return pmoblie;
	}

	public void setPmoblie(int pmoblie) {
		this.pmoblie = pmoblie;
	}

	public String getPpassword() {
		return ppassword;
	}

	public void setPpassword(String ppassword) {
		this.ppassword = ppassword;
	}

	@Override
	public String toString() {
		return "Regist [pid=" + pid + ", pname=" + pname + ", pmoblie=" + pmoblie + ", ppassword=" + ppassword + "]";
	}
	
	
	
}
